package com.project.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.project.entity.GeneralManager;

public interface GeneralManagerManage {
	public int insertGeneralManager(GeneralManager generalManager);
	
	public int update(GeneralManager generalManager);
	
	public GeneralManager getById(Integer generalManagerId);
	
	public List<GeneralManager> getAllGeneralManager(Integer start,Integer limit);
	
	public void deleteById(Integer generalManagerId);
	
	public Integer countAllGeneralManager();
	
	 public int changePass(String past,  String pass1, String id);
	 
	 public GeneralManager getByNumber(String number);//通过工号获得管理员entity
}
